package com.situ.util.service;
import java.util.List;

import com.situ.util.dto.CstSerSj;
import com.situ.util.entity.CstService;
import com.situ.util.entity.SysUser;

/**
 * CstService的服务接口
 * 
 * @author 
 *
 */
public interface CstServiceService {
	/**
	 * 获得CstService数据集,可以通过辅助工具Assist进行条件查询,如果没有条件则传入null
	 * 
	 * @return
	 */
	List<CstService> find(CstService value);
	
	/**
	 * 通过CstService的id获得CstService对象
	 * 
	 * @param id
	 * @return
	 */
	 CstService  findOne(Integer id);
	
	/**
	 * 将CstService中属性值不为null的数据到数据库
	 * 
	 * @param value
	 * @return
	 */
CstService saveNotNull(CstService value);
	
	/**
	 * 通过CstService的id更新CstService中属性不为null的数据
	 * 
	 * @param enti
	 * @return
	 */
	int updateNotNullById(CstService enti);
	
	/**
	 * 通过CstService的id删除CstService
	 * 
	 * @param id
	 * @return
	 */
	int deleteById(Integer id);

	List<CstService> queryServiceByLike(CstSerSj c);

	List<CstService> queryServiceByLike2(CstSerSj c);

	void addServerFw(CstService cs);

	void deleteCstServiceById2(int id);

	void updatesdt(CstService c);

	List<CstService> queryServiceByLikeFk(CstSerSj c);

	CstService selectCstSerById(int id);

	public List<SysUser> queryusers();

	List<CstService> queryServiceByLikeGd(CstSerSj c);

	void updateCs(CstService c);

	void updateFk(CstService c);

	void updateXxy3(CstService c);

}
